package com.handinfo.android.uicontrols;

import android.graphics.PointF;
import android.view.MotionEvent;

public interface DWGestureListener
{
	/** 按下 */
	public boolean onDown(PointF point);

	/** 点击 */
	public boolean onClick(PointF point);

	/** 双击 */
	public boolean onDoubleClick(PointF point);

	/** 长按 */
	public boolean onLongPress(PointF point);

	/** 点击移动 */
	public boolean onScroll(PointF start, PointF end, float distanceX, float distanceY);

	/** 长按移动 */
	public boolean onLongScroll(PointF start, PointF end, float distanceX, float distanceY);

	/** 点击移动抬起 */
	public boolean onFling(PointF start, PointF end, float velocityX, float velocityY);

	/** 长按移动抬起 */
	public boolean onDrag(PointF start, PointF end, float velocityX, float velocityY);
	
	public boolean onTouch(MotionEvent event, PointF point);
}
